<?php
/*
 +----------------------------------------------------------------------
 + Title        : ApiBase 控制器
 + Author       : Randy_chen
 + Version      : V1.0.0.1
 + Initial-Time : 2019/5/27 16:05
 + Last-time    : 2019/5/27 16:05+ 86187
 + Desc         : 前端基类接口
 +----------------------------------------------------------------------
*/


namespace app\common\controller;


use think\App;
use think\Controller;
use think\facade\Request;

class ApiBase extends Controller
{
    protected $param;
    public function __construct(App $app = null)
    {
        parent::__construct($app);
        $this->param = Request::param();
        if(isset($this->param['token']) && $this->param['token'] == 'token'){
            $this->param['phone'] = '18995551435';
        }
    }

}